/**
 * @name : 获取资讯列表
 * @author: getAskList
 * @requires : page=1 limit=10 type=1=话题，2=活动，3=邻里互动 name=搜索关键词
 */
export const getAskList = (params) => uni.$uv.http.get('/information/list', {
	params
})

/**
 * @name : 添加话题
 * @author: addTopic
 * @requires : title=话题标题 content=话题内容
 */
export const addTopics = (params) => uni.$uv.http.post('/api/information/add', params)


/**
 * @name : 用户是否是管家
 * @author: isManager
 *
 */
export const isManager = () => uni.$uv.http.get('/information/isManager')


/**
 * @name : 获取资讯详情
 * @author: getAskDetail
 
 */
export const getAskDetail = (id) => uni.$uv.http.get('/information/detail/' + id)



/**
 * @name : 添加评论
 * @author: addComment
 * 
 */
export const addComment = (params) => uni.$uv.http.post('/api/information/comment', params)


/**
 * @name : 点赞
 * @author: addComment
 * 
 */
export const setLikes = (params) => uni.$uv.http.post('/api/information/setLikes', params)



/**
 * @name : 转发
 * @author: forward
 * 
 */
export const forward = (params) => uni.$uv.http.post('/api/information/forward', params)



/**
 * @name : 获取初始评论列表
 * @author: getAskDetail
 
 */
export const commentList = (params) => uni.$uv.http.get('/api/information/commentList/' + params.id, params)

/**
 * @name : 获取转发列表
 * @author: forwardList
 
 */
export const forwardList = (params) => uni.$uv.http.get('/api/information/forwardList/' + params.id, params)


/**
 * @name : 获取更多评论列表
 * @author: moreCommentList
 
 */
export const moreCommentList = (params) => uni.$uv.http.get('/api/information/moreCommentList' + '?id=' + params.id +
	'&information_id=' + params.information_id)



/**
 * @name : 关注
 * @author: setFollowUser
 * 
 */
export const setFollowUser = (params) => uni.$uv.http.post('/api/information/setFollowUser', params)

/**
 * @name : 搜索pio
 * @author: nearbyBy
 * 
 */
export const nearbyBy = (params) => {
	const url = uni.$uv.objectToUrlParams('/address/getNearbyPlaces', params);
	return uni.$uv.http.get(url);
}


/**
 * @name : 我的贴子
 * @author: getInvitation
 * 
 */
export const getInvitation = (params) => {
	const url = uni.$uv.objectToUrlParams('/api/information/getInvitation', params);
	return uni.$uv.http.get(url);
}

/**
 * @name : 我的关注
 * @author: getFollow
 * 
 */
export const getFollow = (params) => {
	const url = uni.$uv.objectToUrlParams('/api/information/getFollow', params);
	return uni.$uv.http.get(url);
}


/**
 * @name : 我的话题
 * @author: getTopic
 * 
 */
export const getTopic = (params) => {
	const url = uni.$uv.objectToUrlParams('/api/information/getTopic', params);
	return uni.$uv.http.get(url);
}

/**
 * @name : 我的活动
 * @author: getActivity
 * 
 */
export const getActivity = (params) => {
	const url = uni.$uv.objectToUrlParams('/api/information/getActivity', params);
	return uni.$uv.http.get(url);
}


/**
 * @name : 我的点赞
 * @author: getLikes
 */
export const getLikes = (params) => {
	const url = uni.$uv.objectToUrlParams('/api/information/getLikes', params);
	return uni.$uv.http.get(url);
}

//auth.js

/**
 * @name : 通用登录
 * @author: login
 */
export const login = (params) => uni.$uv.http.post('/auth/login', params)

/**
 * @name : 注册
 * @author: login
 */
export const register = (params) => uni.$uv.http.post('/auth/register', params)

/**
 * @name : 退出登录
 * @author: logout
 */
export const logout = () => uni.$uv.http.post('/auth/logout')

/**
 * @name : 文件上传
 * @author: uploadImage
 */
export const uploadImage = (params) => uni.$uv.http.upload('/upload/uploadImage', { ...params })

/**
 * @name : 视频上传
 * @author: videoUpload
 */
export const videoUpload = (params) => uni.$uv.http.upload('/upload/videoUpload', { ...params })


/**
 * @name : 城市四级联动列表
 * @author: videoUpload
 */

export const getRegionsList = () => uni.$uv.http.get('/api/settings/getRegionsList')

/**
 * @name : 城市三级联动
 * @author: getCityLv3
 */
export const getCityLv3 = () => uni.$uv.http.get('/api/address/getProvinceCityAreaList')

/**
 * @name : 发送短信验证码
 * @author: smsSend
 */
export const smsSend = (params) => uni.$uv.http.post('/sms/send', params)

/**
 * @name : 根据代理类型获取代理范围
 * @author: getRegionsByType
 */
export const getRegionsByType = (params) => uni.$uv.http.get('/api/settings/getTypeRegions',  { params })

/**
 * @name : 获取支付方式
 * @author: getPaymentMethod
 */
export const getPaymentMethod = () => uni.$uv.http.get('/api/order/payList')



/**
 * @name : 获取城市信息
 * @author: getCityWebAreaInfo
 */
export const getCityWebAreaInfo = () => uni.$uv.http.get('/api/getCityWebAreaInfo')

/**
 * @name : 协议详情
 * @author: agreementDetail
 */
export const agreementDetail = (params) => {
	const url = uni.$uv.objectToUrlParams('/agreement/getDetail', params);
	return uni.$uv.http.get(url);
}

/**
 * @name : 测试接口
 * @author: getHealth
 */
export const getHealth = (params) => uni.$uv.http.get('/api/health', { params })

/**
 * @name : 获取首页分类接口
 * @author: getCategoryList
 */
export const getCategoryList = (params) => uni.$uv.http.get('/goods/getCategoryList', { params })

/**
 * @name : 获取下级分类接口
 * @author: getCategory
 */
export const getCategory = (params) => uni.$uv.http.get('/goods/getCategory', { params })

/**
 * @name : 获取商品详情接口
 * @author: getServiceDetail
 */
export const getServiceDetail = (id) => uni.$uv.http.get(`/goods/detail/${id}`)

/**
 * @name : 获取宝宝家事接口
 * @author: getBabyFamily
 */
export const getBabyFamily = () => uni.$uv.http.get('/goods/babyFamily')

/**
 * @name : 获取康养护理接口
 * @author: getHealthCare
 */
export const getHealthCare = () => uni.$uv.http.get('/goods/healthCare')

/**
 * @name : 获取家电维修接口
 * @author: getApplianceRepair
 */
export const getApplianceRepair = () => uni.$uv.http.get('/goods/applianceRepair')

/**
 * @name : 获取邻集市首页接口
 * @author: getLeadingMarket
 */
export const getLeadingMarket = () => uni.$uv.http.get('/goods/leadingMarket')

/**
 * @name : 邻集市分类列表
 * @author: getMarketCategory
 */
export const getMarketCategory = () => uni.$uv.http.get('/leadingMarket/getCategory')


/**
 * @name : 邻集市子分类列表
 * @author: getMarketSonCategory
 */
export const getMarketSonCategory = () => uni.$uv.http.get('/leadingMarket/getCategoryList')


/**
 * @name : 邻集市商品
 * @author: getMarketProduct
 * @param {number} page 页码
 * @param {number} limit 每页条数
 * @param {string} category_id 分类id
 * @param {string} sort 排序方式：0=综合排序，1=销量排序，2=好评排序
 */
export const getMarketProduct = (params) => uni.$uv.http.get('/leadingMarket/goodsList', {
	params
})


/**
 * @name : 邻集市推荐商品
 * @author: getMarketCategory
 * @param {number} id 商品id
 */
export const getMarketRecProduct = (id) => uni.$uv.http.get(`/leadingMarket/recommendingGoods?id=${id}`)

/**
 * @name : 邻集市商品详情
 * @author: getMarketCategory
 * @param {number} id 商品id
 */
export const getMarketProductDetail = (id) => uni.$uv.http.get(`/leadingMarket/detail/${id}`)


/**
 * @name : 添加购物车
 * @author: addMarketCart
 * @param {number} product_id 商品id
 * @param {number} sku_id 规格id
 * @param {number} cart_num 购买数量
 */
export const addMarketCart = (params) => uni.$uv.http.post('/api/leadingMarket/cart/add', params)


/**
 * @name : 购物车列表
 * @author: getMarketCartList
 * @param {number} page 页码
 * @param {number} limit 页数
 */
export const getMarketCartList = (params) => uni.$uv.http.get('/api/leadingMarket/cart/list', {
	params
})


/**
 * @name : 删除购物车
 * @author: delMarketCart
 * @param {number} cart_ids [id]
 */
export const delMarketCart = (params) => uni.$uv.http.delete('/api/leadingMarket/cart/del', params)


/**
 * @name : 购物车商品数量
 * @author: getMarketCartNum
 */
export const getMarketCartNum = () => uni.$uv.http.get('/leadingMarket/getCartGoodsNum')


/**
 * @name : 修改购物车商品数量
 * @author: setGoodsNum
 * @param {number} id 购物车id
 * @param {number} type 1=加，2=减
 * @param {number} cart_num 数量
 */
export const setGoodsNum = (params) => uni.$uv.http.post('/api/leadingMarket/cart/setGoodsNum', params)

/**
 * @name : 获取默认地址
 * @author: getDefaultAddress
 */
export const getDefaultAddress = () => uni.$uv.http.get('/api/leadingMarket/addressDefault')

/**
 * @name : 支付订单
 * @author: payOrder
 * @param {number} order_id 订单id
 * @param {string} pay_type 支付方式：wxpay=微信支付，zfbpay=支付宝支付,money=余额支付
 * @param {string} password 支付密码
 */
export const payOrder = (params) => uni.$uv.http.post('/api/leadingMarket/pay', params)

/**
 * @name : 获取支付结果
 * @author: getMarketPaySuccess
 */
export const getMarketPaySuccess = (params) => uni.$uv.http.get('/api/leadingMarket/paySuccess', {
	params
})

/**
 * @name : 邻集市订单列表
 * @author: getMarketOrderList
 * @param {number} page 页码
 * @param {number} limit 页数
 * @param {string} status 订单状态：-1=全部，0=待付款，1=待发货，2=待收货，4=待评价，5=已售后
 */
export const getMarketOrderList = (params) => uni.$uv.http.get('/api/leadingMarket/orderList', {
	params
})

/**
 * @name : 邻集市订单详情
 * @author: getMarketOrderDetail
 * @param {number} id 订单id
 */
export const getMarketOrderDetail = (params) => uni.$uv.http.get('/api/leadingMarket/orderDetail', {
	params
})

/**
 * @name : 查看物流信息
 * @author: getLogistics
 * @param {number} delivery_id 物流公司id freight_no发货单号
 */
export const getLogistics = (params) => uni.$uv.http.get('/api/leadingMarket/logistics', {
	params
})

/**
 * @name : 取消订单
 * @author: cancelMarketOrder
 * @param {number} id 订单id
 */
export const cancelMarketOrder = (params) => uni.$uv.http.post('/api/leadingMarket/cancelOrder', params)

/**
 * @name : 删除订单
 * @author: delMarketOrder
 * @param {number} id 订单id
 */
export const delMarketOrder = (params) => uni.$uv.http.delete('/api/leadingMarket/delOrder', params)

/**
 * @name : 订单评价
 * @author: orderAppraise
 * @param {number} id 订单id
 */
export const orderAppraise = (params) => uni.$uv.http.post('/api/leadingMarket/orderAppraise', params)

/**
 * @name : 确认收货
 * @author: receiveGoods
 * @param {number} id 订单id
 */
export const receiveGoods = (params) => uni.$uv.http.post('/api/leadingMarket/confirm', params)

/**
 * @name : 申请售后原因列表
 * @author: getReason
 */
export const getReason = () => uni.$uv.http.get('/api/leadingMarket/afterSales/getReason')

/**
 * @name : 添加售后
 * @author: addMarketAfterSales
 * @param {JSON} 售后内容
 */
export const addMarketAfterSales = (params) => uni.$uv.http.post('/api/leadingMarket/afterSales/add', params)

/**
 * @name : 添加评价
 * @author: addMarketCommnet
 * @param {JSON} 评价内容
 */
export const addMarketCommnet = (params) => uni.$uv.http.post('/api/leadingMarket/orderAppraise', params)

/**
 * @name : 订单售后详情
 * @author: getMarketAfterSalesList
 * @param order_id 订单id
 */
export const getMarketAfterSalesDetail = (params) => uni.$uv.http.get(
'/api/leadingMarket/afterSales/afterSalesDetail', {
	params
})

/**
 * @name : 商品售后详情
 * @author: getGoodsAfterSalesDetail
 * @param order_info_id 商品订单id
 */
export const getGoodsAfterSalesDetail = (params) => uni.$uv.http.get(
	'/api/leadingMarket/afterSales/applyForGoodsDetail', {
		params
	})

/**
 * @name : 获取评价统计
 * @author: getCommnetNum
 */
export const getCommnetNum = (params) => uni.$uv.http.get('/api/leadingMarket/getCommentNum', {params})

/**
 * @name : 获取评价列表
 * @author: getCommnetList
 * @param {number} page 页码
 * @param {number} limit 页数
 */
export const getEvaluatedList = (params) => uni.$uv.http.get('/api/leadingMarket/evaluatedList', {
	params
})

/**
 * @name : 取消商品售后
 * @author: cancelGoodsWithdraw
 * @param {number} id 售后id
 */
export const cancelGoodsWithdraw = (params) => uni.$uv.http.post('/api/leadingMarket/afterSales/goodsWithdraw', params)

/**
 * @name : 删除评价
 * @author: delEvaluated
 * @param {number} id 评价id
 */
export const delEvaluated = (id) => uni.$uv.http.delete(`/api/leadingMarket/delEvaluated/${id}`)

/**
 * @name : 设置匿名评价
 * @author: setAnonymous
 */
export const setAnonymous = (params) => uni.$uv.http.post('/api/leadingMarket/anonymous', params)

/**
 * @name : 确认订单列表
 * @author: confirmAnOrder
 * @param {array} cart_ids 购物车ids
 */
export const confirmAnOrder = (params) => uni.$uv.http.post('/api/leadingMarket/confirmAnOrder', params)

/**
 * @name : 获取待支付订单详情
 * @author: getPendingPaymentDetail
 * @param {number} order_id 订单id merchant_order_id 商家订单id
 */
export const getPendingPaymentDetail = (params) => uni.$uv.http.get('/api/leadingMarket/pendingPaymentDetail', {params})

/**
 * @name : 获取包裹列表
 * @author: getPackageList
 */	
export const getPackageList = (params) => uni.$uv.http.get('/api/leadingMarket/package',{params})

/**
 * @name : 填写退货快递单号
 * @author: getReturnNumber
 */
export const fillReturnNumber = (params) => uni.$uv.http.post('/api/leadingMarket/afterSales/returnNumber', params)

/**
 * @name : 商家父级分类列表
 * @author: getMerchantClassify
 */
export const getMerchantClassify = () => uni.$uv.http.get('/api/merchantProfile/merchantClassifyList')


/**
 * @name : 未读系统消息
 * @author: getSystemNotices
 */
export const getSystemNotices = (params) => {
	const url = uni.$uv.objectToUrlParams('/api/notice/list', params);
	return uni.$uv.http.get(url);
}

/**
 * @name : 提交订单
 * @author: createOrder
 */
export const createOrder = (params) => uni.$uv.http.post('/api/leadingMarket/createOrder', params)

/**
 * @name : 服务订单支付
 * @author: goPay
 */
export const goPay = (params) => uni.$uv.http.post('/api/order/pay', params)



/**
 * 获取分类下的商品列表
 * @param {Object} params
 */
export const getListByCate = (params) => uni.$uv.http.get('/goods/list', {
	params
})

/**
 * 创建服务订单
 * @param {Object} params
 */
export const addService = (params) => uni.$uv.http.post('/api/order/create', params)

/**
 * 获取服务订单列表
 * @param {Object} params
 */
export const getServiceOrderList = (params) => uni.$uv.http.get('/api/order/list', {
	params
})

/**
 * 取消服务订单
 * @param {Object} params
 */
export const cancelServiceOrder = (params) => uni.$uv.http.post('/api/order/cancelOrder', params)

/**
 * 获取支付结果
 * @param {Object} params
 */
export const getPaySuccess = (params) => uni.$uv.http.get('/api/order/paySuccess', {
	params
})

/**
 * 获取服务订单详情
 * @param {Object} params
 */
export const getServiceInfo = (params) => uni.$uv.http.get('/api/order/detail', {
	params
})

/**
 * 编辑服务订单
 * @param {Object} params
 */
export const modifyOrder = (params) => uni.$uv.http.post('/api/order/editOrder', params)

/**
 * 申请售后
 * @param {Object} params
 */
export const applyForAfterSales = (params) => uni.$uv.http.post('/api/order/applyForAfterSales', params)

/**
 * 获取售后详情
 * @param {Object} params
 */
export const getAfterSalesDetail = (params) => uni.$uv.http.get('/api/order/afterSalesDetail', {
	params
})

/**
 * 撤销售后
 * @param {Object} params
 */
export const revokeAfterSales = (params) => uni.$uv.http.post('/api/order/revokeAfterSales', params)

/**
 * 评价服务订单
 * @param {Object} params
 */
export const serviceComment = (params) => uni.$uv.http.post('/api/order/evaluateOrder', params)

/**
 * 再次申请售后
 * @param {Object} params
 */
export const reApplyForAfterSales = (params) => uni.$uv.http.post('/api/order/ReApplyForAfterSales', params)

/**
 * 获取取消规则
 * @param {Object} params
 */
export const getCancelRule = () => uni.$uv.http.get('/api/order/getCancelRule')

/**
 * 获取技师信息
 * @param {Object} params
 */
export const getTechnicianInfo = (params) => uni.$uv.http.get('/api/order/technician', {params})

/**
 * 获取技师评价列表
 * @param {Object} params
 */
export const getTecComment = (params) => uni.$uv.http.get('/api/order/evaluateMasterList', {params})

/**
 * @name : 获取用户信息
 * @author: getUserInfo
 */
export const getUserInfo = (params) => uni.$uv.http.get('/auth/user-info', { params })

/**
 * @name : 修改用户信息
 * @author: setUserInfo
 */
export const setUserInfo = (params) => uni.$uv.http.post('/api/settings/setUser', params)


/**
 * @name : 获取地址列表
 * @author: getAddressList
 * @requires : page=1 limit=10
 */
export const getAddressList = (params) => uni.$uv.http.get('/api/address/list', { params })

/**
 * @name : 获取地址详情
 * @author: getAddressDetail
 */
export const getAddressDetail = (id) => uni.$uv.http.get('/api/address/detail/'+id)

/**
 * @name : 添加地址
 * @author: addAddress
 */
export const addAddress = (params) => uni.$uv.http.post('/api/address/add', params)

/**
 * @name : 编辑地址
 * @author: editAddress
 */
export const editAddress = (id, params) => uni.$uv.http.post('/api/address/edit/'+id, params)

/**
 * @name : 删除地址
 * @author: delAddress
 */
export const delAddress = (id) => uni.$uv.http.delete('/api/address/del/'+id)


/**
 * @name : 设置默认
 * @author: setDefault
 */
export const setDefault = (id, params) => uni.$uv.http.post('/api/address/setDefault/'+id, params)

/**
 * @name : 获取用户的身份列表
 * @author: getUserIdentity
 */
export const getUserIdentity = (params) => uni.$uv.http.get('/api/serviceAcceptance/getUserIdentity', { params })


/**
 * @name : 修改用户密码
 * @author: changePassword
 */
export const changePassword = (params) => uni.$uv.http.post('/api/settings/changePassword', params)

/**
 * @name : 修改支付密码
 * @author: setPaymentPassword
 */
export const setPaymentPassword = (params) => uni.$uv.http.post('/api/settings/setPaymentPassword', params)


/**
 * @name : 设置查看权限
 * @author: setInformationPurview
 */
export const setInformationPurview = (params) => uni.$uv.http.post('/api/settings/setInformationPurview', params)


/**
 * @name : 提交反馈信息
 * @author: addFeedback
 */
export const addFeedback = (params) => uni.$uv.http.post('/api/settings/addFeedback', params)



/**
 * @name : 获取公司基本信息
 * @author: aboutUs
 *
 */
export const aboutUs = () => uni.$uv.http.get('/api/settings/aboutUs')


/**
 * @name : 技师入驻
 * @author: joinSkill
 */
export const joinSkill = (params) => uni.$uv.http.post('/api/technicianProfile/add', params)

/**
 * @name : 技师入驻详情
 * @author: joinSkillDetail
 */
export const joinSkillDetail = () => uni.$uv.http.get('/api/technicianProfile/getTechnicianDetail')

/**
 * @name : 意向行业列表
 * @author: joinSkill
 */
export const getIntentionList = () => uni.$uv.http.get('/api/technicianProfile/intendedIndustryList')

/**
 * @name : 社区列表
 * @author: joinSkill
 * @query: area_id 街道ID
 */
export const getCommunityList = (params) => uni.$uv.http.get('/api/settings/getCommunityList', {
	params
})

/**
 * @name : 邻工入驻
 * @author: joinWorker
 */
export const joinWorker = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/add', params)

/**
 * @name : 邻工入驻详情
 * @author: joinWorkerDetail
 */
export const joinWorkerDetail = () => uni.$uv.http.get('/api/neighborWorkerProfile/getNeighborWorkerDetail')

/**
 * @name : 商家入驻
 * @author: joinMerchant
 */
export const joinMerchant = (params) => uni.$uv.http.post('/api/merchantProfile/add', params)

/**
 * @name : 商家入驻详情
 * @author: joinMerchantDetail
 */
export const joinMerchantDetail = () => uni.$uv.http.get('/api/merchantProfile/getMerchantDetail')

/**
 * @name : 代理商入驻
 * @author: joinAgent
 */
export const joinAgent = (params) => uni.$uv.http.post('/api/agentProfile/add', params)

/**
 * @name : 代理商入驻详情
 * @author: joinAgentDetail
 */
export const joinAgentDetail = () => uni.$uv.http.get('/api/agentProfile/detail')

/**
 * @name : 管家入驻
 * @author: joinManager
 */
export const joinManager = (params) => uni.$uv.http.post('/api/managerProfile/add', params)

/**
 * @name : 管家入驻详情
 * @author: joinManagerDetail
 */
export const joinManagerDetail = () => uni.$uv.http.get('/api/managerProfile/detail')
// 使用腾讯通过经纬度获取周边一公里之内的信息
export const getNearbyPlaces = (params) => uni.$uv.http.get('/address/getNearbyPlaces', {
	params
})
// 商品类别列表
export const getGoodsType = () => uni.$uv.http.get('/api/neighborWorkerProfile/getGoodsType')
// 通过距离计算价格
export const calculateFee = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/calculateFee', params)
// 添加取件地址
export const addPickupAddress = (params) => uni.$uv.http.post('/api/pickupAddress/addPickupAddress', params)
// 取件地址列表
export const getPickupAddressList = () => uni.$uv.http.get('/api/pickupAddress/getPickupAddressList')
// 创建邻工订单
export const neighborWorkerProfileCreateOrder = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/createOrder', params)
// 取件地址(设置默认/取消默认)
export const setDefaultPickupAddress = (id, params) => uni.$uv.http.post('/api/pickupAddress/setDefaultPickupAddress/'+id, params)
// 删除取件地址
export const delPickupAddress = (id) => uni.$uv.http.delete('/api/pickupAddress/delPickupAddress/'+id)
// 取件地址详情
export const pickupAddressInfo = (id) => uni.$uv.http.get('/api/pickupAddress/pickupAddressInfo/'+id)
// 编辑地址
export const editPickupAddress = (id, params) => uni.$uv.http.post('/api/pickupAddress/editPickupAddress/'+id, params)
// 获取城市列表
export const listsOfCities = (params) => uni.$uv.http.get('/api/address/listsOfCities', {params})
//确认支付
export const confirmPayment = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/confirmPayment', params)
// 我发布的订单列表
export const getMyOrderList = (params) => uni.$uv.http.get('/api/neighborWorkerProfile/getMyOrderList', {params})
// 用户订单详情
export const getUserOrderInfo = (id, params) => uni.$uv.http.get('/api/neighborWorkerProfile/getUserOrderInfo/'+id, params)
// 取消订单
export const neighborWorkerProfileCancelOrder = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/cancelOrder', params)
// 取消原因列表
export const getReasonCancellation = () => uni.$uv.http.get('/api/neighborWorkerProfile/getReasonCancellation')
// 服务期间取消订单
export const cancelOrderDuringService = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/cancelOrderDuringService', params)
// 根据类型获取评论骑手信息
export const getCommentRiderType = (params) => uni.$uv.http.get('/api/neighborWorkerProfile/getCommentRiderType', {params})
// 获取骑手邻工信息
export const commentRider = (params) => uni.$uv.http.get('/api/neighborWorkerProfile/commentRider', {params})
//城市四级联动
export const addressGetRegionsList = () => uni.$uv.http.get('/api/address/getRegionsList')
//保存用户社区
export const associatedCommunity = (params) => uni.$uv.http.post('/auth/associatedCommunity', params)
// 去支付邻工代买商品的商品价格
export const payGoodsPrice = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/payGoodsPrice', params)
// 评论骑手
export const addCommentRider = (params) => uni.$uv.http.post('/api/neighborWorkerProfile/addCommentRider', params)
